import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import {Provider} from "mobx-react";
import * as rootStore from './store/rootStore';
import {BrowserRouter} from 'react-router-dom';
import Routes from './routes/index';
ReactDOM.render(
    <Provider {...rootStore}>
        <BrowserRouter>
            <Routes />
        </BrowserRouter>
    </Provider>, document.getElementById('root'));